package com.soulmate.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.Bean;
import redis.clients.jedis.Jedis;

@SpringBootApplication
@EnableEurekaClient
@MapperScan("com.soulmate.user.mapper")
public class StarterUser {
    public static void main(String[] args) {
        SpringApplication.run(StarterUser.class,args);
    }

/*    @Bean
    public Jedis initJedis(){
        return new Jedis("192.168.1.128",6379);
    }*/
}
